﻿using System;
using System.Collections.Generic;
using System.Text;

namespace CharacterTest.Decorator
{
    public class ConcreteDecoratorB : Decorator
    {
        public ConcreteDecoratorB(Component component) : base(component)
        {
        }

        public override void Operation()
        {
            base.Operation();
            AddRune();
            AddProperty();
        }

        private void AddProperty()
        {
            //throw new NotImplementedException();
            Console.WriteLine("光属性法术攻击");
        }

        private void AddRune()
        {
            //throw new NotImplementedException();
            Console.Write("符文宝石攻击力加成50  ");
        }
    }
}
